source 'http://ruby.taobao.org'


# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.1'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
gem 'jquery-turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring',        group: :development

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

# Use debugger
# gem 'debugger', group: [:development, :test]


# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin]



gem 'bcrypt'
gem 'bcrypt-ruby'


# Mongoid 辅助插件
gem 'mongoid'
gem 'mongoid_auto_increment_id'
gem 'mongoid_rails_migrations'

#上传组件
gem 'carrierwave'
gem 'carrierwave-mongoid',:require => 'carrierwave/mongoid'
gem 'mini_magick'

#风格
gem 'bootstrap-sass'
#gem 'bootstrap-sass', '2.3.2.0'
gem 'autoprefixer-rails'
gem 'font-awesome-sass'
gem 'simditor-rails', github: 'cqpx/simditor-rails'


#HTML
gem 'simple_form'
gem 'bootstrap_helper'
gem 'kaminari'

gem 'settingslogic'
gem 'social-share-button'
gem 'nokogiri'

#自动给中文英文之间加入合理的空格
gem 'auto-correct'


gem 'sunspot_rails'
group :development,:test do
	gem 'sunspot_solr', github: 'xhj/sunspot', require: 'sunspot_solr'
end
gem 'sunspot_with_kaminari'
gem 'sunspot_mongoid', github: 'sujal/sunspot_mongoid'
gem 'progress_bar'
gem 'ruby-progressbar'
gem 'ruby-pinyin'

#全角转半角
gem 'charwidth'



#列队来处理请求
#gem 'sidekiq', '3.2.2'
#gem 'sidekiq-unique-jobs', '3.0.2'
gem 'dalli'
gem 'redis'


#http server
gem 'puma'


#反爬虫
gem 'limiter', :github => 'csdn-dev/limiter'


#过滤特殊字符串
gem 'rack-utf8_sanitizer'


gem 'figaro'



group :development, :test do
	# 用于组合小图片
	gem 'sprite-factory'
	gem 'chunky_png'
	gem 'rails_best_practices'
	gem 'mongoid_colored_logger'
end

group :production do
	gem 'newrelic_rpm'
	gem 'newrelic_moped'
	gem 'slim'
end
